OpenGL GLX Example Programs

HUB | Up | Pheedbak | Download | Tree | Topic | A-Z | Search | Hot | New


GLX Example Programs
Simon Hui
February 15, 1994

these programs demonstrate implementations of the GLX extension:

sharelist.c:  Display lists, containing both geometry and textures, 
              are shared between two rendering contexts belonging 
              to the same client.

              RGBA, singlebuffer, depthbuffer

              also includes util.c and util.h



font.c:       An X font is imported using glXUseXFont(), and used 
              as bitmaps for OpenGL rendering.

              font [-f fontname] [-s string]

              RGBA, singlebuffer

              keys:
                a       draw the entire 256 element character set
                b       draw only CAPITAL LETTERS of the alphabet
                r       draw "string" in rainbow colors
                Esc     quit

The Makefile provides information on how the compile sequence works.


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire glx directory.

Copyright © 1995, Silicon Graphics, Inc.